/* 
 * File:   InvalidFileException.cpp
 * Author: Guilherme Monteiro
 * 
 */

#include "../headers/InvalidFileException.h"

InvalidFileException::InvalidFileException(string path) :
		exception() {
    this->filePath = path;
}

InvalidFileException::InvalidFileException(const InvalidFileException& orig) :
		exception(orig) {
}

InvalidFileException::~InvalidFileException() throw () {
}

const char* InvalidFileException::what() const throw () {
	return ("ERROR ==> Invalid file: " + this->filePath).c_str();
}
